package inabit.compiler.lexical.automaton.transitions;

import inabit.compiler.lexical.automaton.Transition;

/**Represents a type of transition that accept characters that are letters*/
/**@author Rafael Rocha*/
public class LetterTransition extends Transition{
	
	public LetterTransition(String sourceState, String targetState) {
		super(sourceState, targetState);
	}

	@Override
	public boolean acceptTransition(char c) {
		return Character.isLetter(c);
	}

}
